﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using UI.ParentForm;

namespace UI.ConstSet
{
    public partial class FrmBas0a00 : BaseMain
    {
        FrmBas0a00Edit edit = null;

        public FrmBas0a00(string modulecode, string action)
            : base(modulecode, action)
        {
            InitializeComponent();

            this.tspView.Visible = false;
        }

        protected override void OnAddClick(ToolStripButton btn)
        {
            edit = new FrmBas0a00Edit("A", GetTitleStyle(this.Text, btn.Text), "");
            edit.ShowDialog();
            if (edit.IsReload) base.BindGrid();
        }
    }
}
